import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/interact_user_praise_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class InteractUserPraiseEntity {
	int? state;
	String? msg;

	InteractUserPraiseEntity();

	factory InteractUserPraiseEntity.fromJson(Map<String, dynamic> json) => $InteractUserPraiseEntityFromJson(json);

	Map<String, dynamic> toJson() => $InteractUserPraiseEntityToJson(this);

	InteractUserPraiseEntity copyWith({int? state, String? msg}) {
		return InteractUserPraiseEntity()
			..state= state ?? this.state
			..msg= msg ?? this.msg;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}